package net.lcheng.manage.vo;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by qiliping on 16/5/12.
 */
public class PermissionsAddModel {
    private int id;
    @NotEmpty(message = "不能为空")
    private String name;
    @NotEmpty(message = "不能为空")
    private String key;
//    private int parent;
    private String url;
    private int model;
    private int menu;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getModel() {
        return model;
    }

    public void setModel(int model) {
        this.model = model;
    }

    public int getMenu() {
        return menu;
    }

    public void setMenu(int menu) {
        this.menu = menu;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

//    public int getParent() {
//        return parent;
//    }
//
//    public void setParent(int parent) {
//        this.parent = parent;
//    }
}
